Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new options to deal with pathname matching #62

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

courtney-rosenthal
Copy link

I've got some backup volumes where I'm trying to find duplicate files. For this I need to look at filenames, as well as contents and permissions. Here are some new options that do that.

-b compares file basenames, and considers matches only if they are the same

-P strips a number of directory components (similar to path -p), and considers matches only if the names are the same.

Chip Rosenthal added 2 commits July 2, 2016 15:15
This allowed for some optimization for the hidden file check.
… and consider

matches only if the remaining names are the same.
@reikred
Copy link

reikred commented Mar 23, 2021

This feature is exactly what I need, really wish this feature could be merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants